package com.rockcent.mall.lib.repository;

import com.rockcent.common.common.PageResult;
import com.rockcent.mall.lib.domain.SettlementRecord;
import com.rockcent.mall.lib.dto.SettlementRecordDto;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by DK on 16/11/9.
 */
@Repository
public interface SettlementRecordRepositoryCustom {
    SettlementRecordDto findByProductIdAndMerchantIdAndMallId(Long productId, Long merchantId, Long mallId);

    List<SettlementRecordDto> findByFundFlowIdAndMerchantIdAndMallId(Long fundFlowId, Long merchantId, Long mallId);
}
